package com.twu.biblioteca;

public class Book {

    private String ISBN;
    private String name;
    private String author;
    private boolean isAvailable;

    public Book(String ISBN, String name, String author ) {
        this.ISBN = ISBN;
        this.name = name;
        this.author = author;
        this.isAvailable = true;
    }

    public String getISBN() {
        return this.ISBN;
    }

    public String getName() {
        return this.name;
    }

    public String getAuthor() {
        return this.author;
    }

     public boolean getAvailability() {
        return this.isAvailable;
    }

    public void setAvailability (boolean availability) {
        this.isAvailable = availability;
    }
}
